package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.Version;
import lombok.*;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Product implements Serializable {
    private Long id;
    private String name;
    private Integer price;
    @Version  // 版本号字段
    private Integer version;
}